package com.rzjm.api.service;

import com.rzjm.api.entity.DeviceNode;
import com.rzjm.api.entity.TerminalTemperature;

import java.util.List;
import java.util.Map;

/**
 * 设备温度记录列表
 * @author mr.zhou
 * @email zhouwei_nice@163.com
 * @date 2020-12-15 22:36:23
 */
public interface TerminalTemperatureService extends BaseService<TerminalTemperature> {
    List<TerminalTemperature> getListByDeviceId(Map<String, Object> map);
    Map<String,Object> getChartData(Integer deviceId,String day, Integer nodeIndex,Integer insIndex);
    Map<String,Object> getChartData(Integer deviceId,String day, String beginHour,String endHour, Integer nodeIndex,Integer insIndex);

    Map<String,Object> getChartDataByNode(Integer deviceId, String day, String beginHour,String endHour, DeviceNode node);
}
